package com.itliupeng.stock.mapper;

import com.itliupeng.stock.pojo.entity.SysRolePermission;

import java.util.List;

/**
* @author 22375
* @description 针对表【sys_role_permission(角色权限表)】的数据库操作Mapper
* @createDate 2025-04-06 20:25:45
* @Entity com.itliupeng.stock.pojo.entity.SysRolePermission
*/
public interface SysRolePermissionMapper {

    int deleteByPrimaryKey(Long id);

    int insert(SysRolePermission record);

    int insertSelective(SysRolePermission record);

    SysRolePermission selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SysRolePermission record);

    int updateByPrimaryKey(SysRolePermission record);

    List<Long> getRolePers(String roleId);

    int deleteByRoleId(long id);
}
